package com.kb.entity.crm;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("CRM_CollateStatement")
@Accessors(chain = true)
public class CrmCollateStatement {

    @TableId(value = "recId", type = IdType.AUTO)
    private Integer recId;

    @TableField(value = "AR_Amount")
    private BigDecimal arAmount;

    @TableField(value = "addCharge")
    private BigDecimal addCharge;

    @TableField(value = "collateDate")
    private Date collateDate;

    @TableField(value = "collateNumber")
    private String collateNumber;

    @TableField(value = "createdBy")
    private String createdBy;

    @TableField(value = "creditAmount")
    private BigDecimal creditAmount;

    @TableField(value = "custCode")
    private String custCode;

    @TableField(value = "d10Rkey")
    private Integer d10Rkey;

    @TableField(value = "invoiceFlg")
    private Boolean invoiceFlg;

    @TableField(value = "netAmount")
    private BigDecimal netAmount;

    @TableField(value = "note")
    private String note;

    @TableField(value = "status")
    private String status;

    @TableField(value = "subAmount")
    private BigDecimal subAmount;

    @TableField(value = "submitDate")
    private Date submitDate;

    @TableField(value = "submitedBy")
    private String submitedBy;

    @TableField(value = "taxAmount")
    private BigDecimal taxAmount;

    @TableField(value = "totalAmount")
    private BigDecimal totalAmount;

    @TableField(value = "type")
    private String type;

    @TableField(value = "customerId")
    private String customerId;

    @TableField(value = "contactName")
    private String contactName;

    @TableField(value = "contactTel")
    private String contactTel;

    @TableField(value = "contactEmail")
    private String contactEmail;

    @TableField(value = "createDate")
    private Date createDate;

    @TableField(value = "custCollateStatementId")
    private Integer custCollateStatementId;

    @TableField(value = "custCollateStatementCode")
    private String custCollateStatementCode;

    @TableField(value = "freightCost")
    private BigDecimal freightCost;

    @TableField(value = "creatorId")
    private Integer creatorId;

    @TableField(value = "collateStartDate")
    private Date collateStartDate;
}
